/*
 * Debug
 */

if ( !window.console ) {
	window.console = {
		log:function() {
			this._show(arguments, "log");
		},
		debug:function() {
			this._show(arguments, "debug");			
		},
		error:function() {
			this._show(arguments, "error");			
		},
		info:function() {
			this._show(arguments, "info");			
		},
		warn:function() {
			this._show(arguments, "warn");			
		},
		_show:function() {
			//TODO: ops..
			//console.debug(arguments);
		}
	};
};